A herding dog of a breed originating near the border between England and Scotland, and specifically bred for intelligence and obedience.